package com.dianping.simple.Interceptor;

import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;

public class TestInterceptor extends AbstractInterceptor {

	private static final long serialVersionUID = 1L;

	@Override
	public String intercept(ActionInvocation arg0) throws Exception {
		System.out.println("TestInterceptor works... ");
		String str = arg0.invoke();
		System.out.println("TestInterceptor end... "+str);
		return str;
	}

}
